package com.myzl.common.enums;

import lombok.Getter;

/**
 * @author Administrator
 * @date 2022年10月27日09:59:53
 */
@Getter
public enum PlcWriteEnum {

    /** 65280 设置线圈状态为ON */
    ON(0xFF00, "设置线圈状态为ON"),
    /** 0 设置线圈状态为OFF */
    OFF(0x0000, "设置线圈状态为OFF"),

    NO(0x0000, "否"),
    YES(0x0001, "是")
    ;




    private PlcWriteEnum(int code, String info){
        this.code = code;
        this.info =info;
    }

    private final int code;
    private final String info;
}
